package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 风险阈值表
 * </p>
 *
 * @author Generator
 * @since 2025-02-26
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_risk_threshold")
@ApiModel(value = "CgnciRiskThresholdDO对象", description = "风险阈值表")
public class CgnciRiskThresholdDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id，自增")
    @TableId(value = "code_id", type = IdType.AUTO)
    private Long codeId;

    @ApiModelProperty("风险指标名称")
    private String thresholdName;
    @ApiModelProperty("风险指标编码")
    private String thresholdCode;
    @ApiModelProperty("监控频次")
    private String timeFrame;

    @ApiModelProperty("正常区间预警类型(<、>)")
    private String normalRangeType;

    @ApiModelProperty("正常区间预警值")
    private BigDecimal normalRangeValue;

    @ApiModelProperty("预警最小值")
    private BigDecimal alertMinValue;

    @ApiModelProperty("预警最大值")
    private BigDecimal alertMaxValue;

    @ApiModelProperty("限制区间类型")
    private String limitType;

    @ApiModelProperty("限制区间值")
    private BigDecimal limitValue;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人名称")
    private String createUserName;

    @ApiModelProperty("修改时间")
    private Date updateTime;

    @ApiModelProperty("修改人名称")
    private String updateUserName;


}
